#!/bin/sh
cd ../..

cd tensorflow/

cd tensorflow/lite/tools/make
./download_dependencies.sh
cd ../../../..
tensorflow/lite/tools/make/build_ios_universal_lib.sh 
cd ..

mkdir -p lib/ios

#libtool -static -o ../lib/ios/libtfextern.a \
#tensorflow/contrib/makefile/gen/lib/libtensorflow-core.a \
#tensorflow/contrib/makefile/gen/protobuf_ios/lib/libprotobuf.a

cp tensorflow/tensorflow/lite/tools/make/gen/lib/libtensorflow-lite.a lib/ios/libtfliteextern.a
